home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
SGI Freeware 2001 May
/
SGI Freeware 2001 May - Disc 2.iso
/
dist
/
fw_netpbm.idb
/
usr
/
freeware
/
catman
/
u_man
/
cat1
/
tifftopnm.Z
/
tifftopnm
Wrap
Text File
|
2001-01-10
|
5KB
|
133 lines
ttttiiiiffffffffttttooooppppnnnnmmmm((((1111)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV ((((00002222 AAAApppprrrriiiillll 2222000000000000)))) ttttiiiiffffffffttttooooppppnnnnmmmm((((1111))))
NNNNAAAAMMMMEEEE
tifftopnm - convert a TIFF file into a portable anymap
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
ttttiiiiffffffffttttooooppppnnnnmmmm [--------aaaallllpppphhhhaaaaoooouuuutttt===={_a_l_p_h_a-_f_i_l_e_n_a_m_e,----}] [--------hhhheeeeaaaaddddeeeerrrrdddduuuummmmpppp]
_t_i_f_f-_f_i_l_e_n_a_m_e
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
Reads a TIFF file as input. Produces a portable anymap as
output. The type of the output file depends on the input
file - if it's black & white, generates a _p_b_m file; if it's
grayscale, generates a _p_g_m file; otherwise, a _p_p_m file. The
program tells you which type it is writing.
This program cannot read every possible TIFF file -- there
are myriad variations of the TIFF format. However, it does
understand monochrome and gray scale, RGB, RGBA
(red/green/blue with alpha channel), CMYK (Cyan-Magenta-
Yellow-Black ink color separation), and color palette TIFF
files. An RGB file can have either single plane
(interleaved) color or multiple plane format.
One reason this program isn't as general as TIFF programs
often are is that it does not use the TIFFRGBAImageGet()
function of the TIFF library to read TIFF files. Rather, it
uses the more primitive TIFFReadScanLine() function and
decodes it itself.
There is no fundamental reason that this program could not
read other kinds of TIFF files; the existing limitations are
mainly because no one has asked for more.
The _t_i_f_f-_f_i_l_e_n_a_m_e argument names the reguar file that
contains the Tiff image. You cannot use Standard Input or
any other special file because the Tiff library must be able
to perform seeks on it.
OOOOPPPPTTTTIIIIOOOONNNNSSSS
--------aaaallllpppphhhhaaaaoooouuuutttt====_a_l_p_h_a-_f_i_l_e_n_a_m_e
ttttiiiiffffffffttttooooppppnnnnmmmm creates a PGM (portable graymap) file
containing the alpha channel values in the input image.
If the input image doesn't contain an alpha channel,
the _a_l_p_h_a-_f_i_l_e_n_a_m_e file contains all zero (transparent)
alpha values. If you don't specify --------aaaallllpppphhhhaaaaoooouuuutttt,
ttttiiiiffffffffttttooooppppnnnnmmmm does not generate an alpha file, and if the
input image has an alpha channel, ttttiiiiffffffffttttooooppppnnnnmmmm simply
discards it.
If you specify ---- as the filename, ttttiiiiffffffffttttooooppppnnnnmmmm writes the
alpha output to Standard Output and discards the image.
Page 1 (printed 12/12/00)
ttttiiiiffffffffttttooooppppnnnnmmmm((((1111)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV ((((00002222 AAAApppprrrriiiillll 2222000000000000)))) ttttiiiiffffffffttttooooppppnnnnmmmm((((1111))))
See ppppnnnnmmmmccccoooommmmpppp(1) for one way to use the alpha output
file.
--------hhhheeeeaaaaddddeeeerrrrdddduuuummmmpppp
Dump TIFF file information to stderr. This information
may be useful in debugging TIFF file conversion
problems.
All options can be abbreviated to their shortest unique
prefix.
SSSSEEEEEEEE AAAALLLLSSSSOOOO
ppppnnnnmmmmttttoooottttiiiiffffffff(1), ppppnnnnmmmmttttoooottttiiiiffffffffccccmmmmyyyykkkk(1), ppppnnnnmmmmccccoooommmmpppp(1), ppppnnnnmmmm(5)
AAAAUUUUTTTTHHHHOOOORRRR
Derived by Jef Poskanzer from tif2ras.c, which is Copyright
(c) 1990 by Sun Microsystems, Inc. Author: Patrick J.
Naughton (naughton@wind.sun.com).
Page 2 (printed 12/12/00)